import useCount from './hooks/useCount'

function App() {
    const {count, increment, decrement} = useCount(0);
    return (
        <div className="App">
            <p>Count: {count}</p>
            <button onClick={increment}>点我+1</button>
            <button onClick={decrement}>点我-1</button>
        </div>
    );
}

export default App;
